<?php
/* @var $this ArticleController */
/* @var $model Article */
/* @var $form CActiveForm */
?>

<div class="wide form">

	<?php
	$properties = array(
		'action'=>Yii::app()->createUrl($this->route),
		'method'=>'get',
	);
	$form = $this->beginWidget('CActiveForm', $properties);
	?>

	<div class="row">
		<?php
		$form->label($model, 'id');
		echo $form->textField($model, 'id');
		?>
	</div>

	<div class="row">
		<?php
		$form->label($model, 'preview');
		$htmlOptions = array('rows'=>6, 'cols'=>50);
		echo $form->textArea($model, 'preview', $htmlOptions);
		?>
	</div>

	<div class="row">
		<?php
		$form->label($model, 'value');
		$htmlOptions = array('rows'=>6, 'cols'=>50);
		echo $form->textArea($model, 'value', $htmlOptions);
		?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

	<?php $this->endWidget(); ?>

</div><!-- search-form -->